<head>
<style type="text/css" media="screen">

a:link {text-decoration: none;

}
 a:visited{color:   #3366FF;}
   
    a:active {color:   #FF9966; } 
 a:hover {
	border-top-width: 2px;
	border-bottom-width: 3px;
	border-top-style: none;
	border-bottom-style: solid;
	border-top-color: blue;
	border-bottom-color: #0000FF;
	text-decoration: none;
	padding-bottom: 5px;
}
</style>
</head>


<a href="#">test</a>